// router/index.js
import { createRouter, createWebHistory } from 'vue-router'
import Home from '../pages/Home.vue'
import History from '../pages/History.vue'

const routes = [
  { path: '/', component: Home },
  { path: '/history', component: History },
]

export default createRouter({ history: createWebHistory(), routes })
